
//组件模板参照
Bottom = function() {
	
	var date = new Date().format('Y年m月d日');
	var clock = new Ext.Toolbar.TextItem('');

	Bottom.superclass.constructor.call(this, {
		id:"bottom",
		border:false,
		frame:true,
		region:"south",
		height:25,
		items:[
			"当前登陆用户：6tomail",
			'->',"©2000-2010&nbsp;&nbsp;&nbsp;<a href='http://www.vifir.com' target='_blank'><font color=blue>TeamPower</font></a>　版权所有           ",
			date,clock
			]
        ,listeners: {
            'render': {
                fn: function(){
					Ext.TaskMgr.start({
						run: function(){
							Ext.fly(clock.getEl()).update(new Date().format('g:i:s A'));
						},interval: 1000
					});
                }
            }
        }
	})
	
};

Ext.extend(Bottom, Ext.Toolbar);

